<extend name="template/base_index" />


<block name="area_header">

</block>

<block name="area_body">
	{:W('Menus/topbar')}
	<div class="admin-main container-fluid">
		{:W('Menus/left')}
		<div class="admin-main-content">
			{:W('Menus/breadcrumb')}
            <div class="btn-control">
                <a href="{:U('Ucenter/UcenterApp/add')}" class="btn btn-primary btn-sm"><i class="fa fa-plus"></i>添加应用</a>
            </div>
            <div class="table-responsive">
                <table class="table table-striped table table-hover  table-condensed">
                    <thead>
                    <tr>
                        <th>
                            <input type="checkbox" class="selectall" onclick="myUtils.selectall(this,'.selectitem');" />app_id
                        <th>
                            应用名称
                        </th>
                        <th>
                            secret
                        </th>
                        <th>
                            {:L('OPERATOR')}
                        </th>
                    </tr>
                    </thead>
                    <tbody>
                    <empty name="list">
                        <tr>
                            <td colspan="4" class="text-center">{:L('NO_DATA')}</td>
                        </tr>
                        <else/>
                        <volist name="list" id="vo">
                            <tr>
                                <td>
                                    <input type="checkbox" value="{$vo.id}" name="ids[]" class="selectitem" />{$vo.app_id}</td>
                                <td>{$vo.title}</td>
                                <td>{$vo.auth_key}</td>
                                <td>

                                </td>
                            </tr>
                        </volist>
                    </empty>
                    </tbody>
                </table>
			
		</div>
		<!-- END admin-main-content -->
	</div>
		<!-- END admin-main-->
</block>

<block name="area_footer">

</block>